package com.smedi.ismedi.notification.core.port.service;

import com.smedi.ismedi.notification.core.domain.aggregatemodel.SmsTemplate;
import com.tencentcloudapi.sms.v20190711.models.DescribeSmsTemplateListResponse;
import com.tencentcloudapi.sms.v20190711.models.SendSmsResponse;

import java.util.List;

/**
 * @Author: xulinjun
 * @Date: 2021-6-10 20:45
 */
public interface SmsClientRemoteApiService {
    Long addSmsTemplate(SmsTemplate smsTemplate);

    void modifySmsTemplate(SmsTemplate smsTemplate);

    SendSmsResponse send(List<String> receivers, List<String> parameters, Long templateId, String sign, String batchId);

    void deleteSmsTemplate(Long tencentTemplateId);

    DescribeSmsTemplateListResponse getSmsTemplateStatus(List<Long> tencentTemplateIds);
}
